import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import Vue from 'vue'
//import ElementUI from 'element-ui'
//import 'element-ui/lib/theme-chalk/index.css'
//import installElementPlus from './plugins/element'
//Vue.use(ElementUI)//全局使用ElementUI

const app = createApp(App)
//installElementPlus(app)
app.use(router).mount('#app')

var axios = require('axios')

axios.defaults.baseURL = 'http://localhost:8080';
Vue.prototype.HOST='/user'
Vue.prototype.$axios = axios


Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
    el: '#app',
    router,
    components: { App },   //调用组件
    template: '<App/>'
})
